/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.PhieuGD_DAO;
import DTO.PhieuGD_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class PhieuGD_BUS {
    
     public static String Get_MaGD() throws SQLException{
        return PhieuGD_DAO.Get_MaGD();
    }
    public static ArrayList<PhieuGD_DTO> GetALL(){
        return PhieuGD_DAO.GetALL();
    }
    public static boolean Insert(PhieuGD_DTO Phieu){
        return PhieuGD_DAO.Insert(Phieu);
    }
    public static boolean Update(PhieuGD_DTO Phieu){
        return PhieuGD_DAO.Update(Phieu);
    }   
    public static boolean Delete(String MaGD){
        return PhieuGD_DAO.Delete(MaGD);
    }
}
